package com.example.edianzu.somur.api;

import com.example.edianzu.somur.module.health.bean.HealthPlan;

import io.reactivex.Observable;
import retrofit2.http.POST;
import retrofit2.http.Query;

/**
 * author：风不会停息 on 2017/7/21 14:02
 * mailbox：yh131412hys@163.com
 * project：Somur
 * tel：13295355900
 * describe：
 */

public interface HealthService {

//    String HEALTH_URL=HOST_URL+"/saas_service/app/getAdviceListMsg.json?";
    @POST("saas_service/app/getAdviceListMsg.json")
    Observable<HealthPlan> getHealthList(@Query("member_id") String member_id);

    @POST("saas_service/app/updateInquiry.json?")
    Observable<HealthPlan> isCheck(@Query("id") int id);
}
